package nfwx.analytics;

/**
 * 采集参数，视频元信息
 */

public class GrabVideoMeta extends GrabObject {
    final public GrabBoolean live; //是否是直播
    final public GrabString vid; //视频ID
    final public GrabString vsid;//视频子流ID
    final public GrabString url; //视频播放地址
    final public GrabString name; //视频名
    final public GrabNumber width; //宽度
    final public GrabNumber height; //高度
    final public GrabNumber duration; //视频时长ms
    final public GrabString serverIP; //所连接的服务器的IP
    final public GrabString serverCName; //所连接域名的CNAME

    GrabVideoMeta()
    {
        super(false);
        live = (GrabBoolean)defineProperty("live", new GrabBoolean(false));
        vid = (GrabString)defineProperty("vid", new GrabString(false));
        vsid = (GrabString)defineProperty("vsid", new GrabString(false));
        url = (GrabString)defineProperty("url", new GrabString(false));
        name = (GrabString)defineProperty("name", new GrabString(false));
        serverIP = (GrabString)defineProperty("serverIP", new GrabString(false));
        serverCName = (GrabString)defineProperty("serverCName", new GrabString(false));
        width = (GrabNumber)defineProperty("width", new GrabNumber(false));
        height = (GrabNumber)defineProperty("height", new GrabNumber(false));
        duration = (GrabNumber)defineProperty("duration", new GrabNumber(false));
    }
}
